package com.yl.auth.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yl.auth.entity.HulidengjiBean;
import com.yl.auth.mapper.HulidengjiMapper;
import com.yl.auth.service.HulidengjiService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 王帅洋
 * @datetime 2023/6/20 21:21
 * @description 类对象
 */
@Service
public class HulidengjiServiceImpl extends ServiceImpl<HulidengjiMapper, HulidengjiBean> implements HulidengjiService {
    @Resource
    private HulidengjiMapper hulidengjiMapper;
    @Override
    public Page pagehuidengji(Page page1, QueryWrapper<HulidengjiBean> queryWrapper) {
        return hulidengjiMapper.selecthulidengji(page1,queryWrapper);
    }

    @Override
    public HulidengjiBean getByIdHulidengji(Long id) {
        return hulidengjiMapper.selectByIdhulidengji(id);
    }

    @Override
    public List<HulidengjiBean> getlist(Long id) {
        return hulidengjiMapper.getlist(id);
    }

    @Override
    public List<HulidengjiBean> getlist2(Long id) {
        return hulidengjiMapper.getlist2(id);
    }

    @Override
    public List<HulidengjiBean> getlist3(Long id) {
        return hulidengjiMapper.getlist3(id);
    }

    @Override
    public List<HulidengjiBean> getPageAll(Long id) {
        return hulidengjiMapper.getPageAll(id);
    }
}
